GMaps.js — Polylines

You can add polylines in GMaps.js this way:

path = blah;

map.drawPolyline({
  path: path,
  strokeColor: '#131540',
  strokeOpacity: 0.2,
  strokeWeight: 2
});

The path of the polyline is defined by an array of array of two (latitude and longitude).